home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19971216-19980424 / 000034_news@newsmaster….columbia.edu _Fri Jan 2 13:19:28 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  7KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA10003
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 2 Jan 1998 13:19:28 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA25432
  7.     for kermit.misc@watsun; Fri, 2 Jan 1998 13:19:27 -0500 (EST)
  8. Path: news.columbia.edu!panix!howland.erols.net!newsfeed.internetmci.com!152.163.199.19!portc03.blue.aol.com!audrey02.news.aol.com!not-for-mail
  9. From: poole22@aol.com (Poole22)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Trying to speed up file transfer
  12. Date: 2 Jan 1998 18:13:50 GMT
  13. Lines: 144
  14. Message-ID: <19980102181301.NAA19057@ladder02.news.aol.com>
  15. NNTP-Posting-Host: ladder02.news.aol.com
  16. X-Admin: news@aol.com
  17. Organization: AOL, http://www.aol.co.uk
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8200
  19.  
  20. Find below the kermit script I'm using and the statistics/status output of the
  21. kermit session. I am negotiating with the remote host kermit administrators to
  22. run a CAUTIOUS kermit command rather than leave their kermit settings as
  23. default. They supply many financial institutions with data but say kermit is
  24. slow and do not encourage its use (I am debating this point with them!). When
  25. receiving data I though I could set the receive packet size on the local host
  26. without any changes on the remote host. This example below didn't seem to work
  27. since it sent the same number of packets (520) and actually took longer. 
  28. 520*1000 bytes is more than 10 times the file size of 40139 bytes.
  29.  
  30.  
  31. KERMIT SCRIPT
  32.  
  33. define error {
  34.   echo ERROR: \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9
  35.   statistics ; output kermit transmission statistics
  36.   quit 1
  37. }
  38.  
  39. ;------------------------------------------------------
  40. ; KERMIT GENERAL SETUP
  41. ;------------------------------------------------------
  42. set modem type usrobotics      ; modem type, e.g. US ROBOTICS
  43. set speed 38400                ; modem speed, e.g. 9600 bits per sec
  44. set line  /dev/tty1            ; serial line device name
  45. set dial method tone           ; TONE phone (as opposed to PULSE)
  46. set parity none                ; no parity, 8th bit is ignored
  47. set delay 30                   ; time allowed to switch from server/client
  48. set dial timeout 30            ; time allowed for modem connection
  49. set handshake none             ; no handshaking (xon causes failure)
  50. set flow auto                  ; Automatic choice of flow control
  51. set file type text             ; all files transferred are of type TEXT
  52. set exit warning off           ; stop requirment for stdin when exiting
  53. set receive packet 1000        ; pack size from receviced files only
  54. set window 4                   ; Not currently set at the ISMA end.
  55.  
  56. ;------------------------------------------------------
  57. ; DIAL phone number
  58. ;------------------------------------------------------
  59. dial XXXXXXXXXXX
  60. if fail error (001) DIAL FAILED
  61.  
  62. ;------------------------------------------------------
  63. ; LOGIN: enter username and password to VMS
  64. ;------------------------------------------------------
  65. input 10 Username:      ; wait upto 10 seconds for VMS Username prompt
  66. if fail error (002) No username prompt
  67. output XXXXXXXX\13
  68.  
  69. input 10 Password:      ; wait upto 10 seconds for VMS Password prompt
  70. if fail error (003) No password prompt
  71. output XXXXXXXX\13
  72.  
  73. ;------------------------------------------------------
  74. ; TRANSFER FILE TO/FROM (UNIX) FROM/TO (VMS)
  75. ;------------------------------------------------------
  76. show protocol                         ; for information only
  77. input 10 RUFAS>
  78. if fail error (006) No RUFAS prompt
  79.  
  80. output RECEIVE PRITST\13              ; remote VMS/RUFAS command
  81. receive ./kisma.48317.dat             ; local Unix kermit command
  82.  
  83. if fail error (007) FILE TRANSFER FAILURE
  84.  
  85. ;------------------------------------------------------
  86. ; TIDYUP and quit
  87. ;------------------------------------------------------
  88. input 10 RUFAS>         ; wait 10 seconds for RUFAS prompt
  89. if fail echo WARNING (008) No RUFAS prompt
  90. else output EXIT\13
  91.  
  92. echo KERMIT SCRIPT COMPLETED OK
  93. statistics              ; SUCCESS - output kermit transmission statistics
  94. quit                    ; quit out of kermit session
  95.  
  96.  
  97. KERMIT CONNECTION OUTPUT
  98.  
  99.   kermit>  ISMA02 - Vax 4000-400
  100.   kermit>
  101.   kermit>  Username: RMT124
  102.   kermit>  Password: >>RUFAS>
  103.   kermit>  A>201, RECEIVE PRITST COMPLETED
  104.   kermit>  RUFAS>Executing /home/gpo/.kermrc for UNIX...
  105.   kermit>   Dial directory is /home/gpo/.kdd
  106.   kermit>  Executing /home/gpo/.mykermrc...
  107.   kermit>
  108.   kermit>   Lookup: skipped
  109.   kermit>
  110.   kermit>  Protocol: Kermit
  111.   kermit>
  112.   kermit>  Protocol Parameters:   Send    Receive
  113.   kermit>   Timeout (used= 8):      8       15        Server Timeout:   0
  114.   kermit>   Padding:                0        0        Block Check:      3
  115.   kermit>   Pad Character:          0        0        Delay:           30
  116.   kermit>   Packet Start:           1        1        Max Retries:     10
  117.   kermit>   Packet End:            13       13
  118.   kermit>   Packet Length:         90     1000
  119.   kermit>   Maximum Length:      9024     9024        Window Size:      4
  120. set, 0 used
  121.   kermit>   Buffer Size:         9065     9065        Locking-Shift:
  122. enabled, not used
  123.   kermit>
  124.   kermit>   Packet timeouts: dynamic 1:0
  125.   kermit>   Auto-upload command (binary):  kermit -ir
  126.   kermit>   Auto-upload command (text):    kermit -r
  127.   kermit>   Transfer character-set: transparent
  128.   kermit>   Transfer mode: automatic
  129.   kermit>   Transfer slow-start: on
  130.   kermit>   Attributes: on
  131.   kermit>
  132.   kermit>   Cancellation: on 3 3
  133.   kermit>   Send / Receive Pause:   0 (msec)
  134.   kermit>
  135.   kermit>  KERMIT SCRIPT COMPLETED OK
  136.   kermit>
  137.   kermit>  Most recent transaction --
  138.   kermit>   files transferred      : 1
  139.   kermit>   files not transferred  : 0
  140.   kermit>   characters last file   : 40139
  141.   kermit>   total file characters  : 40139
  142.   kermit>   communication line in  : 42300
  143.   kermit>   communication line out : 4175
  144.   kermit>   packets sent           : 520
  145.   kermit>   packets received       : 520
  146.   kermit>   damaged packets rec'd  : 0
  147.   kermit>   timeouts               : 0
  148.   kermit>   retransmissions        : 0
  149.   kermit>   parity                 : none
  150.   kermit>   control characters     : 902 prefixed, 0 unprefixed
  151.   kermit>   8th bit prefixing      : no
  152.   kermit>   locking shifts         : no
  153.   kermit>   window slots used      : 1 of 4
  154.   kermit>   packet length          : 80 (send), 1000 (receive)
  155.   kermit>   compression            : yes [~] (5212)
  156.   kermit>   block check type used  : 3
  157.   kermit>   elapsed time           : 87 sec
  158.   kermit>   transmission rate      : 38400 bps
  159.   kermit>   effective data rate    : 461 cps
  160.  
  161.  
  162.  
  163.